package com.jumi.microservice.dto.reponse.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.dto.reponse.BaseUserReponse;
import com.jumi.microservice.enums.SourceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@ApiModel("我的邀请人信息")
public class InviterResponse extends BaseUserReponse {
    @ApiModelProperty(value = "会员用户id")
    private Integer uid;

    @ApiModelProperty(value = "邀请者用户id")
    private Integer inviteUid;

    @ApiModelProperty(value = "来源类型：0-链接、二维码; 1-手动填写邀请码绑定; 2-数据洗入")
    private SourceType sourceType;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "备注")
    private String backup;
    @ApiModelProperty(value = "二维码")
    private String qr;


    @ApiModelProperty(value = "创建时间")

    private LocalDateTime createTime;

    public String getQr() {
        return qr;
    }

    public void setQr(String qr) {
        this.qr = qr;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getInviteUid() {
        return inviteUid;
    }

    public void setInviteUid(Integer inviteUid) {
        this.inviteUid = inviteUid;
    }

    public SourceType getSourceType() {
        return sourceType;
    }

    public void setSourceType(SourceType sourceType) {
        this.sourceType = sourceType;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public String getBackup() {
        return backup;
    }

    public void setBackup(String backup) {
        this.backup = backup;
    }


    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
